import styles from './index.module.scss';
import { classnames as c } from '@/utils/classnames';



interface DownloadLinkProps {
    className?: string;
    showText: string;
    link: string;
    downloadText?: string;
}


export function DownloadLink({ showText, link, downloadText, className }: DownloadLinkProps) {
    return (
        <div className={c(styles.container, className)}>
            <a href={link} download={downloadText} className='download-link'>
                {showText}
            </a>
        </div>
    );
}